package com.sanyang.lawyer.service.finance;

import com.sanyang.lawyer.entity.Finance_tax_registation;
import com.sanyang.lawyer.mapper.finance.Finance_tax_registationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: lawyer
 * @description:税务登记
 * @author: lql
 * @create: 2019-10-12 10:21
 **/
@Service
public class Finance_tax_registationService {

    @Autowired
    private Finance_tax_registationMapper finance_tax_registationMapper;

    //查询全部
    public List<Finance_tax_registation> list(){
        return finance_tax_registationMapper.selectList(null);
    }

    //查询一个
    public Finance_tax_registation getbyid(int taxId){
        return finance_tax_registationMapper.selectById(taxId);
    }


}
